package com.example.demo.demos.web;

import org.springframework.beans.factory.InitializingBean;

/**
 * 策略设计模式
 */
public abstract class AbstractHandler implements InitializingBean {

    public void weChatPay(String name) {
        throw new UnsupportedOperationException();
    }

    public String alipay(String name) {
        throw new UnsupportedOperationException();
    }

    public String backPay(String name) {
        throw new UnsupportedOperationException();
    }
}
